package com.ulook.planetmanager.common;

import android.app.Application;
import android.content.Context;

/**
 * 描述：
 *
 * @author L1998
 * @data 2021/5/13
 */
public class MyApplication extends Application {

    private static Context context;

    @Override
    public void onCreate() {
        super.onCreate();
        context = getApplicationContext();
        //LitePal.initialize(this);
    }

    /**
     * 获取App上下文
     * @return
     */
    public static Context getContext(){
        return context;
    }
}
